package dao;

import entity.Battery;

import java.util.List;

public interface BatteryDao {
    //查看所有
    List<Battery> info();
    //查询id
   Battery  selectAll(int id);
    //更新
   int update(Battery battery);
    //删除
   int delete(int id);
}
